package com.example.myapplication2;

import java.io.File;
import java.io.FileInputStream;
import java.io.FileOutputStream;
import java.util.ArrayList;
import java.util.LinkedList;

class logClass {
    public void setLog(String a) {
        helpFunc.print(a);
    }

    void setLogChi(LinkedList<byte[]> a, LinkedList<byte[]> b) {
        return;
    }

    void setLogChiT(ArrayList<msgT> msgCache) {
        return;
    }

    void write(byte[] b) throws Exception {
        FileOutputStream o = new FileOutputStream("d:/file.txt");
        o.write(b);
        o.close();
    }
}

public class Main {
    static byte[] get() {
        try {
            File f = new File("d:/file.txt");
            int l = (int) f.length();
            FileInputStream st = new FileInputStream("d:/file.txt");
            byte[] x = new byte[l];
            st.read(x);
            st.close();
            return x;
        } catch (Exception e) {
            return new byte[0];
        }
    }

    public static void main(String[] args) throws Exception {
        defaultChi.load(get());
        touc.work(new logClass());
    }
}
